home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / projectiles / granatwerferproj.tik < prev    next >
Encoding:
Text File  |  2002-10-24  |  1.2 KB  |  72 lines

  1. TIKI
  2. setup
  3. {
  4.     scale 0.52
  5.     path models/projectiles/mortar_shell
  6.     skelmodel mortar_shell.skd
  7.     surface mortar_shell shader mortar_shell
  8.     surface mortar_shell2 shader mortar_shell
  9. }
  10.  
  11. init
  12. {
  13.     server
  14.     {
  15.         classname            Projectile
  16.         setsize                "-4 -4 -4" "4 4 4"
  17.         speed                1920
  18.         gravity                2.5
  19.         addownervelocity        0
  20.         hitdamage            200
  21.         life                20.0
  22.         health                20
  23.         meansofdeath            rocket
  24.         explosionmodel            models/fx/granatwerferexplosion.tik
  25.         smashthroughglass        64
  26.         knockback            300
  27.         impactmarkshader        blastmark
  28.         impactmarkradius        50
  29.         impactmarkorientation        random
  30.         explodeontouch
  31.         takedamage
  32.  
  33.         surface mortar_shell2        +nodraw
  34.     }
  35.     client
  36.     {
  37.         cache blastmark.spr
  38.         cache vsssource.spr
  39.         cache models/fx/bazookaexplosion.tik
  40.  
  41.         originemitter bazookatrail
  42.         (
  43.             model vsssource.spr
  44.             velocity 150
  45.             friction 0.85
  46.             randvel crandom 10 crandom 10 crandom 10
  47.             accel 0 0 20
  48.             spawnrate 50
  49.             color 1 1 1
  50.             alpha 0.05
  51.             fadein 0.1
  52.             fadedelay 0.25
  53.             scalemin 0.8
  54.             scalemax 1.0
  55.             scalerate 2
  56.             life 1.0 1.5
  57.         )
  58.     }
  59. }
  60.  
  61. animations
  62. {
  63.     idle mortar_shell.skc
  64.     {
  65.         server
  66.         {
  67.             last commanddelay 0.25 surface mortar_shell +nodraw
  68.             last commanddelay 0.25 surface mortar_shell2 -nodraw
  69.         }
  70.     }
  71. }
  72.